﻿<Window x:Class="TestApplication.Window1"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:slvp="clr-namespace:SilverlightViewport.WPF;assembly=SilverlightViewport.WPF"
        Title="Window1"
        Height="800"
        Width="600"
        Background="SlateGray">
    <Grid Margin="20,20,20,20">
        <StackPanel>
           <slvp:SilverlightViewportElement  BaseUrl="http://www.myosity.com/demos/"
                                             Source="http://www.myosity.com/demos/ClientBin/xamla.xap"
                                             ViewportSize="550,550"
                                             RenderFps="60"
                                             x:Name="slViewport">
                <!--<slvp:SilverlightViewportElement.Effect>
                    <DropShadowEffect BlurRadius="50" />
                </slvp:SilverlightViewportElement.Effect>-->
                <slvp:SilverlightViewportElement.LayoutTransform>
                    <RotateTransform Angle="10" />
                </slvp:SilverlightViewportElement.LayoutTransform>
            </slvp:SilverlightViewportElement>
            <Button Content="Change Viewport Resolution"
                    x:Name="changeViewPortSize"
                    Click="changeViewPortSize_Click" />
            <!--
            <slvp:SilverlightViewportElement ViewportSize="600,600"
                                             BaseUrl="http://files.mosaicwonder.com/deepzoom/SRB-80_files/"
                                             Source="http://files.mosaicwonder.com/deepzoom/SRB-80_files/MosaicWonder.xap"
                                             RenderFps="40"
                                             x:Name="slViewport">
                <slvp:SilverlightViewportElement.LayoutTransform>
                    <RotateTransform Angle="3" />
                </slvp:SilverlightViewportElement.LayoutTransform>
            </slvp:SilverlightViewportElement>
            -->
        </StackPanel>
    </Grid>
</Window>
